@extends('layouts.admin')

@section('content')
<div class="container">
    <div class="row">
        <div class="col-xs-12">
            <div class="space-4"></div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right"> 统计类型 </label>
                <div class="col-sm-9">
                    <select id="statistic_type">
                        <option value="1">选题</option>
                        <option value="2">开题报告</option>
                        <option value="3">任务书</option>
                        <option value="4">论文</option>
                        <option value="5">论文评阅情况</option>
                        <option value="6">论文指导老师评审情况</option>
                    </select>
                </div>
            </div>
        </div>


        <div class="col-md-8 col-md-offset-2">
            <div class="row">
                <div class="form-actions center delegate-list">
                    <hr id="split-line">
                    <button type="button" class="btn btn-sm btn-success center" onclick="export_data();">
                        导出
                        <i class="icon-arrow-right  bigger-110" ></i>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    function export_data() {
        window.location.href = "/admin/thesis/export/" + $("#statistic_type").val();
    }
</script>
@endsection
